<include file="Public:head"/>
 <script src="{lanrain::RES}/flash/FusionCharts.js" type="text/javascript"></script>
 <script src="{lanrain::RES}/flash/MSLine.swf" language="javascript" type="text/javascript"></script>      

<div class="content" style="width:920px; background:none; margin-left:275px; border:none; margin-bottom:30px;" >
        	<h4 class="cLineB">选择年份<select class="setting-period" name="year" id="year" onchange="doit($('#period').val())">{lanrain:$yearOption}</select> 选择月份&nbsp;&nbsp;<select class="setting-period" name="period" id="period" onchange="doit(this.value)">
                
            <option value="1" <if condition="$month eq 1">selected</if>>1月</option>
            <option value="2" <if condition="$month eq 2">selected</if>>2月</option>
            <option value="3" <if condition="$month eq 3">selected</if>>3月</option>
            <option value="4" <if condition="$month eq 4">selected</if>>4月</option>
            <option value="5" <if condition="$month eq 5">selected</if>>5月</option>
            <option value="6" <if condition="$month eq 6">selected</if>>6月</option>
            <option value="7" <if condition="$month eq 7">selected</if>>7月</option>
            <option value="8" <if condition="$month eq 8">selected</if>>8月</option>
            <option value="9" <if condition="$month eq 9">selected</if>>9月</option>
            <option value="10" <if condition="$month eq 10">selected</if>>10月</option>
            <option value="11" <if condition="$month eq 11">selected</if>>11月</option>
            <option value="12" <if condition="$month eq 12">selected</if>>12月</option>
            </select></h4>
                <script>
function doit(month){
location.href= '/index.php?g=User&m=Requerydata&a=index&token={lanrain:$token}&month='+month+'&year='+$('#year').val();
}
</script>
<div class="msgWrap">
       <table width="100%" cellspacing="0" cellpadding="0" border="0" style="margin:20px 0; ">
 		<tbody>
 			<tr>
 				<td align="center" bgcolor="#f9f9f9">
					<div id="chartdiv1" align="center">
					</div>
					<script type="text/javascript">
						var chart = new FusionCharts("{lanrain::RES}/flash/MSLine.swf", "ChartId", "930", "400", "0", "1");
						//chart.setTransparent("false");
						chart.setDataXML('{lanrain:$xml}');
						//chart.setDataURL("data.html");
						chart.render("chartdiv1");
					</script>
 				</td>
			</tr>
                <tr>
 				<td align="center" bgcolor="#f9f9f9">
                  <div id="chartdiv2" align="center"></div>


 				</td>
				</tr>
 			</tbody>
 		</table>
            
          </div>
          <div class="msgWrap">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="ListProduct">
 		<thead>
 			<tr>
				<th>日期</th>
 				<th style="display:none">3G网站浏览量</th>
                <th>文本请求数</th>
 				<th>图文请求数</th>
				<th>语音请求数</th>
				<th>营销/电商请求</th>
				
				<th>关注人数</th>				
				<th>取消关注人数</th> 
				<th>总请求数/日</th>
 				</tr>
 			</thead>
 		<tbody>
           </tbody>
		   <tfoot>
             <volist id="list" name="list">                
				<tr>
					<td>{lanrain:$list.time|date='Y-m-d',###}</td>
					<td style="display:none">{lanrain:$list.3g}</td>
					<td>{lanrain:$list.textnum}</td>
					<td>{lanrain:$list.imgnum}</td>
					<td>{lanrain:$list.videonum}</td>
					<td>{lanrain:$list.other}</td>					
					<td>{lanrain:$list.follownum}</td>
					<td>{lanrain:$list.unfollownum}</td>											 
					<td><?php echo $list['3g']+$list['textnum']+$list['imgnum']+$list['videonum']+$list['other']?></td>
				</tr>
			</volist>
		</tfoot> 			
 		</table>            
          </div>  
        </div>

  <include file="Public:footer"/>